Skip to content

Conversation

@febo
Copy link
Collaborator

@febo febo commented Aug 9, 2025

Problem

There are a couple of issues in the current system crate: (1) the InitializeNonceAccount offers a invoke_signed helper although the instruction does not require any signers; and (2) the correct name for UpdateNonceAccount is UpgradeNonceAccount and there is no need to include a invoke_signed helper since the instruction does not expect any signers.

Solution

Remove the invoke_signed from both InitializeNonceAccount and UpdateNonceAccount, and rename UpdateNonceAccount to UpgradeNonceAccount.

Copy link
Contributor

@rustopian rustopian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Straightforward, looks good.

@febo febo merged commit f93f31c into main Aug 12, 2025
11 checks passed
@febo febo deleted the febo/fix-system-instructions branch August 12, 2025 22:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants